/*StcEeprom*/
#ifndef _STC_89C52_EEPROM_H
#define _STC_89c52_EEPROM_H

#include <reg52.h>
#include <intrins.h>

sfr ISP_DATA=0xe2;
sfr ISP_ADDRH=0xe3;
sfr ISP_ADDRL=0xe4;
sfr ISP_CMD=0xe5;
sfr ISP_TRIG=0xe6;
sfr ISP_CONTR=0xe7;

void Stc89c52QuitISP();
void Stc89c52EepromEraseSector(unsigned int address);
void Stc89c52EepromWrite(unsigned int address,unsigned char dat);
unsigned char Stc89c52EepromRead(unsigned int address);


#endif
